#ifndef _SYMBOLS_H_
#define _SYMBOLS_H_

#include "common_inc.h"
#include <cstdio>

using namespace Gdiplus;

/////////////////////////////////
//
// This is map: color -> char
// Color is unsigned int
//
/////////////////////////////////
class Symbols
{
	static char *chars;
	const int gray_depth; // num of levels of gray
	const int top_id; // number of last elemnt if array "chars"

public:
	Symbols( void );

	char Symbols::operator[]( const Color& color );

private:
	int Symbols::get_id( const Color& color );
	ARGB alpha_as_white( const Color& color );
};

#endif // _SYMBOLS_H_